{{#if attrs}}

  {{#if attrs.type}}

    {{> types}}

  {{else}}

    {{> notype}}

  {{/if}}

{{else}}

  {{> notype}}

{{/if}}